package com.talkweb.newproject.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication//(exclude = DataSourceAutoConfiguration.class)
//@EnableDiscoveryClient
@ComponentScan(basePackages = {
        "com.talkweb.newproject.admin",
        "com.talkweb.newproject.common.web",
        "com.talkweb.newproject.common.config",
        "com.talkweb.newproject.common.utils"
})
@MapperScan("com.talkweb.newproject.admin.*.dao")
public class ServiceAdminApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServiceAdminApplication.class, args);
	}

}
